home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10219 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What are the best C programming language books for beginner?
  5. Date: Sat, 16 Mar 96 00:06:02 GMT
  6. Organization: none
  7. Message-ID: <826934762snz@genesis.demon.co.uk>
  8. References: <313FA4BD.41C67EA6@dragon.taiwan.ti.com> <3a7cc$15141.38a@news.comet.net> <Pine.OSF.3.91.960313150356.30507A-100000@io.UWinnipeg.ca> <4i81un$4gc@solutions.solon.com>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!genesis.demon.co.uk
  13.  
  14. In article <4i81un$4gc@solutions.solon.com>
  15.            seebs@solutions.solon.com "Peter Seebach" writes:
  16.  
  17. >K&R is fully ANSI, with one (1) exception I know of (*study* page 117.).
  18. >I have found one piece of advice I disagree with, one mistake, and one
  19. >typo.  (Missing " on page 114.  I didn't find it; dmr pointed it out
  20. >when I sent in a bug report on the one on 117.)
  21. >
  22. >It has been ANSI-ized since before there was ANSI C.
  23. >
  24. >(Although an intermediate draft there was inaccurate.)
  25.  
  26. I have the draft-ANSI version of K&R2. The biggest error in it w.r.t. the
  27. final standard is the description of scanf in both the tutorial and reference
  28. sections, particularly with regards white-space handling. I understood that
  29. the revised ANSI edition didn't correct this. Am I right?
  30.  
  31. For example in the reference section B1.3 by copy says:
  32.  
  33. "... The format string may contain:
  34.  
  35.  . Blanks or tabs, which are ignored"
  36.  
  37. which is false.
  38.  
  39. -- 
  40. -----------------------------------------
  41. Lawrence Kirby | fred@genesis.demon.co.uk
  42. Wilts, England | 70734.126@compuserve.com
  43. -----------------------------------------
  44.